package com.hgyc.mom.qms.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.hgyc.mom.common.annotation.Excel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 检测终端不良采集项目
 * </p>
 *
 * @author fwj
 * @since 2025-07-02
 */
@Data
@TableName("qms_inspection_terminal_item")
@Schema(name="检测终端不良采集项目 对象", description="检测终端不良采集项目 对象")
public class QmsInspectionTerminalItem implements Serializable {
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @Schema(description = "记录ID")
    private Long id;

    @Excel(name = "终端ID")
    @Schema(description = "终端ID")
    private Long terminalId;

    @Excel(name = "缺陷ID")
    @Schema(description = "缺陷ID")
    private Long defectId;

    @TableField(fill = FieldFill.INSERT)
    @Schema(description = "创建者")
    private Long createBy;

    @TableField(fill = FieldFill.INSERT)
    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @TableField(fill = FieldFill.UPDATE)
    @Schema(description = "更新者")
    private Long updateBy;

    @TableField(fill = FieldFill.UPDATE)
    @Schema(description = "更新时间")
    private LocalDateTime updateTime;

}